var fs = require('fs')
exports.home = (req, res) => {
    fs.readFile('./data/index.json', 'utf8', (err, data) => {
        if (!err) {
            res.send(data)
        } else {
            console.log(err)
        }
    })
}